package cn.com.wangluotongxin.merchants.mapper;

import cn.com.wangluotongxin.merchants.dto.GoodsSizeDto;
import cn.com.wangluotongxin.merchants.model.MerchantsGoodsSize;
import cn.com.wangluotongxin.merchants.vo.GoodsSizeVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商户管理-商品管理-尺码 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2024-06-20
 */
@Mapper
public interface MerchantsGoodsSizeMapper extends BaseMapper<MerchantsGoodsSize> {

    IPage<GoodsSizeVo> getPage(Page page, @Param("dto") GoodsSizeDto dto);

    List<GoodsSizeVo> getList(@Param("sizeName") String name);
}
